home *** CD-ROM | disk | FTP | other *** search
- Joost Brugman spake thus:
- > > Peter Custerson spake thus:
- > > > Could somebody please explain the theory of 4 way scrolling maps
- > > > to me.
- > > Nick Waterman added:
- > > Note! This trick only works HORIZONTALLY! You can scroll off the right
- > > and "sort of" back on the left, but you absolutely CANNOT do the same
- > > off the top or bottom... You *WILL* need twice the height.
- > >
- > > and off on a skiing holiday soonish, so don't be surprised if I take
- >
- > I've done antoher way once wich took (for low-res) just one screen, 16
- > additional lines (as the screen was built of 16x16 bricks) and 40 extra
- > bytes at the end:
- [ blah blah ]
- > * Vertical scrolling *
- >
- > Vertical scrolling can be achieved by placing the screen on a 'roll' by
- > linking the lower and upper screenline together:
- [ blah blah ]
- > Basicly, moving down means incrementing the screen pointer by sizeof(line)
- > and moving up means decrementing the pointer. Using the copper you can place
- > the upper part of the screen below the lower part in a raster-split.
- > Ofcourse, you need 16 extra lines below of your screen for built-buffering.
-
- This guy was talking about AMOS though. Is it possible to do this trick
- in AMOS? You can certainly place 2 copies of the screen above each
- other, but I think there's an annoying blank line left between them. In
- Assembly, or even C, I'd agree with you, but AMOS... hmmmmmm...
-
- > By the way, Nick... Have fun on vacation...
-
- I hope to! I'm off in just over a week's time, skiing. Never been skiing
- before - should be a laugh!
-
-
- Nick Waterman - inet nick@cimio.co.uk - ax25 G7RZQ @ GB7DEO.#32.GBR.EU
- "Go to Red Alert!"... "Sir, are you sure? It DOES mean changing the bulb!"
- None of the opinions above belong to anybody at all, probably.
-
-
-
-